package com.itheima.dao;

import com.itheima.pojo.Order;

import java.util.List;
import java.util.Map;

public interface OrderDao {

    List<Order> finByCondition(Order order);

    void add(Order order);

    Order findById(int id);

    Map findById4Detail(int id);

    public List<Map> findHotSetmeal();
    public Integer findOrderCountByDate(String date);
    public Integer findOrderCountAfterDate(String date);
    public Integer findVisitsCountByDate(String date);
    public Integer findVisitsCountAfterDate(String date);
}
